ExceptionDetails

data class ExceptionDetails(exceptionId: Int, text: String, lineNumber: Int, columnNumber: Int, scriptId: ScriptId?, url: String?, stackTrace: StackTrace?, exception: RemoteObject?, executionContextId: ExecutionContextId?)

Detailed information about exception (or error) that was thrown during script compilation or execution.

Constructors

ExceptionDetails
Link copied to clipboard
fun ExceptionDetails(exceptionId: Int, text: String, lineNumber: Int, columnNumber: Int, scriptId: ScriptId? = null, url: String? = null, stackTrace: StackTrace? = null, exception: RemoteObject? = null, executionContextId: ExecutionContextId? = null)

Properties

columnNumber
Link copied to clipboard
val columnNumber: Int
Column number of the exception location (0-based).
exception
Link copied to clipboard
val exception: RemoteObject? = null
Exception object if available.
exceptionId
Link copied to clipboard
val exceptionId: Int
Exception id.
executionContextId
Link copied to clipboard
val executionContextId: ExecutionContextId? = null
Identifier of the context where exception happened.
lineNumber
Link copied to clipboard
val lineNumber: Int
Line number of the exception location (0-based).
scriptId
Link copied to clipboard
val scriptId: ScriptId? = null
Script ID of the exception location.
stackTrace
Link copied to clipboard
val stackTrace: StackTrace? = null
JavaScript stack trace if available.
text
Link copied to clipboard
val text: String
Exception text, which should be used together with exception object when available.
url
Link copied to clipboard
val url: String? = null
URL of the exception location, to be used when the script was not reported.

Sources

jvm source
Link copied to clipboard